package com.ktwlsoft.archivemanage.payload.businessGuidance;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 *
 */
@ApiModel("业务指导新增单位")
@Getter
@Setter
public class BusinessGuidanceUnit {
    /**立档单位**/
    @ApiModelProperty("立档单位")
    @NotNull(message = "立档单位不能为空")
    @Size(max = 20, message = "立档单位参数超长")
    private String unit;

    /**单位地址**/
    @ApiModelProperty("单位地址")
    @Size(max = 1000, message = "单位地址参数超长")
    private String unitLocation;

    /**单位id**/
    @ApiModelProperty("单位id")
    @NotNull(message = "单位id不能为空")
    private Long unitId;

//    /**档案员**/
//    @ApiModelProperty("档案员")
//    @Size(max = 50, message = "档案员参数超长")
//    private String archievist;
//
//    /**档案员id**/
//    @ApiModelProperty("档案员id")
//    private Long archievistId;
//
//    /**档案员电话**/
//    @ApiModelProperty("档案员电话")
//    private Long archievistPhone;
}
